package com.nf.health.app.main_intervention.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by he_pan on 2016/11/24.
 * The only genius that is worth anything is the genius for hard work
 *
 * @author he_pan
 * @Description 药膳bean类
 */

public class MedicinedDietBean implements Serializable {

    /**
     * picture : http://mbank.nf1000.com/simg/48a5071b7f99e0e0b099db2bd2d8ccbc
     * amount : （原料）用量，有分隔符||
     * time : 18:00
     * title : 肾经当令
     * usemethod : （用法）食用方法，有分隔符||
     * effect : （功效）功效与作用 整体性放在这里,有分隔符||
     * name : 药膳名称
     * method : （制法）做法，有分隔符||
     * hour : 酉时
     * foodlist : [{"type":"蔬菜","fooddepot":[{"picture":"url","name":"100g苹果1"},{"picture":"url","name":"100g苹果2"},{"picture":"url","name":"100g苹果3"},{"picture":"url","name":"100g苹果4"},{"picture":"url","name":"100g苹果5"},{"picture":"url","name":"100g苹果6"},{"picture":"url","name":"100g苹果7"},{"picture":"url","name":"100g苹果8"},{"picture":"url","name":"100g苹果9"}],"calorie":100,"num":1}]
     * meal : 晚餐
     */

    private String picture;
    private String amount;
    private String time;
    private String title;
    private String usemethod;
    private String effect;
    private String name;
    private String method;
    private String hour;
    private String meal;
    /**
     * type : 蔬菜
     * fooddepot : [{"picture":"url","name":"100g苹果1"},{"picture":"url","name":"100g苹果2"},{"picture":"url","name":"100g苹果3"},{"picture":"url","name":"100g苹果4"},{"picture":"url","name":"100g苹果5"},{"picture":"url","name":"100g苹果6"},{"picture":"url","name":"100g苹果7"},{"picture":"url","name":"100g苹果8"},{"picture":"url","name":"100g苹果9"}]
     * calorie : 100
     * num : 1
     */

    private List<FoodlistBean> foodlist;

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUsemethod() {
        return usemethod;
    }

    public void setUsemethod(String usemethod) {
        this.usemethod = usemethod;
    }

    public String getEffect() {
        return effect;
    }

    public void setEffect(String effect) {
        this.effect = effect;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getHour() {
        return hour;
    }

    public void setHour(String hour) {
        this.hour = hour;
    }

    public String getMeal() {
        return meal;
    }

    public void setMeal(String meal) {
        this.meal = meal;
    }

    public List<FoodlistBean> getFoodlist() {
        return foodlist;
    }

    public void setFoodlist(List<FoodlistBean> foodlist) {
        this.foodlist = foodlist;
    }

    public static class FoodlistBean {
        private String type;
        private String calorie;
        private String num;
        /**
         * picture : url
         * name : 100g苹果1
         */

        private List<FooddepotBean> fooddepot;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getCalorie() {
            return calorie;
        }

        public void setCalorie(String calorie) {
            this.calorie = calorie;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public List<FooddepotBean> getFooddepot() {
            return fooddepot;
        }

        public void setFooddepot(List<FooddepotBean> fooddepot) {
            this.fooddepot = fooddepot;
        }

        public static class FooddepotBean {
            private String picture;
            private String name;

            public String getPicture() {
                return picture;
            }

            public void setPicture(String picture) {
                this.picture = picture;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
